<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/html">

<head>
	<meta charset="UTF-8">
	<title>我的订单</title>
</head>

<body>
<ul>
	{if $orders != NULL}
		{foreach $orders as $details}
			<li>订单ID: {$details->id}</li>
			<li>下单时间: {$details->comfirm_time}</li>
			<li>送达地址: {$details->dst_addr}</li>
			<li>收货人姓名: {$details->dst_name}</li>
			<li>收货人电话: {$details->dst_phone}</li>
			<li>商家名: {$details->src_name}</li>
			<li>商家地址: {$details->src_addr}</li>
			<li>商家电话: {$details->src_phone}</li>
			<form action="{$base_url.base_url}rider/myorder" method="post">
				<input type="hidden" name="id" value="{$details->id}" >
				<button type="submit" name="submit" value="finish">
					<span>已送达</span>
				</button>
			</form>
			<br>
		{/foreach}
	{else}
		无订单
	{/if}
</ul>

</body>

</html>
